//
//  ActivityModel.m
//  兼职页面
//
//  Created by kuiyuan liang on 2021/6/6.
//

#import "ActivityModel.h"
#import "CommonUtil.h"

@implementation ActivityModel



-(CGFloat)cellHeight{
    
    CGFloat h = AD(20) + AD(25);
    
    CGFloat contentH = [CommonUtil countHeight:self.content
                                               font:[UIFont systemFontOfSize:AD(14)]
                                              width:SCREEN_WIDTH-AD(30)-AD(120)];
    h = h + AD(5) + contentH + AD(20);
    return  h;
}

@end
